package com.zf.mall.user.ds.entity;

import java.io.Serializable;
import java.time.LocalDateTime;
import java.util.Date;

import lombok.Data;
import lombok.EqualsAndHashCode;

/**
 * <p>
 * 
 * </p>
 *
 * @author zf
 * @since 2021-04-14
 */
@Data
@EqualsAndHashCode(callSuper = false)
public class UserLoginHistory implements Serializable {

    private static final long serialVersionUID = 1L;

    private Long id;

    private Integer userId;

    /**
     * 用户登录时间
     */
    private LocalDateTime userLoginTime;

    /**
     * 用户登录IP
     */
    private String userClientIp;

    /**
     * 用户登录大致地址-精确到市即可
     */
    private String userClientAddress;

    /**
     * 用户登录设备ID
     */
    private Integer userClientMacid;

    /**
     * 添加时间
     */
    private Date createTime;

    /**
     * 扩展字段
     */
    private String extend;


}
